package com.dubbo.consumer.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.dubbo.api.service.HelloServiceProvider;
import com.dubbo.consumer.service.HelloServiceConsumer;
import org.springframework.stereotype.Service;

/**
 * HelloServiceImlp class
 *
 * @author 蒋时华
 * @date 2018-7-10
 */
@Service
public class HelloServiceConsumerImpl implements HelloServiceConsumer {

    @Reference(version = "1.0.0", group = "aaa")
    private HelloServiceProvider helloServiceProvider;

    @Override
    public String helloTest(){
        return helloServiceProvider.helloTest();
    }


}
